package com.xique.door.service;

import com.xique.door.bean.domain.DCardHouse;

import java.util.List;

/**
 * cardHouseService接口
 *
 * @author caogq
 * @date 2022-03-08
 */
public interface IDCardHouseService
{
    /**
     * 查询cardHouse
     *
     * @param id cardHouseID
     * @return cardHouse
     */
    public DCardHouse selectDCardHouseById(Long id);

    /**
     * 查询cardHouse列表
     *
     * @param dCardHouse cardHouse
     * @return cardHouse集合
     */
    public List<DCardHouse> selectDCardHouseList(DCardHouse dCardHouse);

    /**
     * 新增cardHouse
     *
     * @param dCardHouse cardHouse
     * @return 结果
     */
    public int insertDCardHouse(DCardHouse dCardHouse);

    /**
     * 修改cardHouse
     *
     * @param dCardHouse cardHouse
     * @return 结果
     */
    public int updateDCardHouse(DCardHouse dCardHouse);

    /**
     * 批量删除cardHouse
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteDCardHouseByIds(String ids);

    /**
     * 删除cardHouse信息
     *
     * @param id cardHouseID
     * @return 结果
     */
    public int deleteDCardHouseById(Long id);

    public int batchInsertDCardHouse(List<DCardHouse> dCardHouses);

    /**
     * 根据房屋ids获取卡片信息
     * @author shd
     * @date 2022/5/6 14:17
     * @param houseIds
     * @return java.util.List<com.xique.door.bean.domain.DCardHouse>
     */
    List<DCardHouse> selectCardHouseListByHouseIds(List<Long> houseIds);
}
